DomainObjects Class Library

InsertByQuery<InsertIntoClass,SelectFromClass> Methods

The methods of the InsertByQuery<InsertIntoClass,SelectFromClass> class are listed below. For a complete list of InsertByQuery<InsertIntoClass,SelectFromClass> class members, see the InsertByQuery<InsertIntoClass,SelectFromClass> Members topic.

Public Instance Methods

Accept Accepts a visitation.
AddInsertFieldOverloaded. Specify a field whose value will be inserted by this command.
AddUnion Unions the given query with this query using the 'UNION' SQL clause.
AddUnionAll Unions the given query with this query using the 'UNION ALL' SQL clause.
BuildObjectGraphQuery Builds the object graph query.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
Execute Executes this insert against the database. If a transaction is in progress when the Execute method is called, then this insert will execute as part of that transaction. If a transaction is not in progress, then this insert will execute and commit as part of a new transaction. If this insert command gets executed as part of a transaction that contains edited objects, then this command will get executed before the object modification commands are executed against the database.
GetClassesToRetrieve Builds the classes to retrieve.
GetFullTableName Get the fully qualified name of the table to which this object maps.
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetImmediateChildExpressions Gets the child object model expressions that are directly contained by this expression.
GetInsertableFields Get the set of insertable Fields to which this object, and any of its sub-types, maps. This is the set of ColumnFields that are populated by the middle tier when a row is inserted into the database.
GetNaturalIdentifier Get a string that identifies this object to a person familiar with the object model. Used when an instance of this field is part of a logging or assertion statement.
GetRootTableMappedObject Returns the root table mapped object in this query path; i.e., the starting point of this join path.
GetSelectableFields Get the set of selectable Fields to which this object, and any of its sub-types, maps.
GetType (inherited from Object)Gets the Type of the current instance.
GetUpdatableFields Get the set of updatable ColumnFields to which this object, and any of its sub-types, maps. This list would exclude, for example, any primary key columns.
HasAnyComputedPrimaryKeyColumns Determines whether this table mapped object has any computed primary key columns.
IsCount Determines whether this instance represents a SQL COUNT statement.
ToString (inherited from Object)Returns a String that represents the current Object.

See Also

InsertByQuery<InsertIntoClass,SelectFromClass> Class | DomainObjects.Facade.Command Namespace